//
//  LimitModel.swift
//  1604_LimitFree
//
//  Created by 千锋 on 16/9/26.
//  Copyright © 2016年 Mabin. All rights reserved.
//

import UIKit

class LimitModel: NSObject {

    var applicationId : String?
    var slug : String?
    var name : String?
    
    var releaseDate : String?
    var version : String?
//    var description : String?
    var desc : String?
    
    var categoryId : NSNumber?
    var categoryName : String?
    var iconUrl : String?
    
    var itunesUrl : String?
    var starOverall : String?
    var starCurrent : String?
    
    var ratingOverall : String?
    var downloads : String?
    var currentPrice : String?
    
    
    var lastPrice : String?
    var priceTrend : String?
    var expireDatetime :String?
    
    var releaseNotes : String?
    var updateDate : String?
    var fileSize : String?
    
    var ipa : String?
    var shares : String?
    var favorites : String?
    
    
    //解决属性和父类方法的冲突
    func setDescription(desc : String)
    {
        self.desc = desc
    }
    
    //使用KVC设置对象的属性值时,防止出错
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    

}
